home *** CD-ROM | disk | FTP | other *** search
- class Net_Client
- {
- };
-
- typedef func void callback();
- typedef func void sendevent(i32x _iParam0,i32x _iParam1,i32x _iParam2,i32x _iParam3,szx _szParam);
- typedef func void sendinterface(i32x _iParam0,i32x _iParam1,i32x _iParam2);
-
-
- // Phase management
- func void SetPrepareRaceFunc(callback _pPrepareRaceFunc);
- func void SetStopRaceFunc(callback _pStopRaceFunc);
- func void NextPhase();
- func void NextStage();
-
- func void DayTurn();
- func void SetDayOfStage();
-
- // calendar functions
- func i32x GetMode();
-
- // Phase time
- func void SavePhaseStartTime();
- func i32x GetPhaseStartTime();
-
-
- // game mode
- func i32x GetGameMode();
- func void SetGameMode(i32x _iMode);
- func i32x IsGameModeEnded();
-
- // GameManager Accessor
- func i32x GetCurrentDay();
- func i32x GetCurrentMDay();
- func i32x GetCurrentMonth();
- func i32x GetCurrentYear();
- func i32x GetCurrentRaceID();
- func i32x GetLastStageID();
- func i32x GetCurrentStageID();
- func i32x GetCurrentStageNumber();
-
- func void UpdateClassifications();
-
- func void SaveHeartRates();
- func void SaveHeartRatesList();
-
- func void GenerateRaceRatings();
-
- func void CheckPreRaceData(); // Tell Game manager to check all client data update in pre race phase
-
- // Resolution server
- func void CreateInRaceServer(i32x iPort);
- func i32x GetGameServerState();
- func void LaunchRace(i32x _iDivision,sendevent _pSendEventFunc, sendinterface _pSendInterfaceFunc);
- func void StartRaceNow();
-
- // console comands
- func void SetRaceSpeed(f32x _fSpeed);
- func void SetRaceDelta(i32x _iDelta);
- func void SetUDPFlow(f32x _fFlow);
-